<template>
  <el-dialog :visible.sync="showPop" :close-on-click-modal="false" top="35vh">
    <div class="pop-detail">
      <div class="close-icon" @click="showPop = false">
        <span>×</span>
      </div>
      <div class="content">
        <comBroadcast></comBroadcast>
      </div>
    </div>
  </el-dialog>
</template>

<script>
import comBroadcast from "@/components/database/comBroadcast.vue";
export default {
  name: "comBroadcastPop",
  components: {
    comBroadcast,
  },
  data() {
    return {
      showPop: false,
    };
  },
  mounted() {},
  methods: {
    closePopup() {
      this.$emit("closePopup");
    },
  },
};
</script>

<style scoped lang="scss">
.pop-detail {
  padding: 4vh 0.8vw 1.6vh 1.4vw;
  width: 58vw;
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -35%);
  z-index: 110;
  background: url("@/assets/image/popupbg2.png") no-repeat;
  background-size: 100% 100%;
  .close-icon {
    width: 0.18rem;
    height: 0.18rem;
    background-color: #a7caea;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000e36;
    font-weight: 700;
    position: absolute;
    right: 0.5vw;
    top: 1vh;
    cursor: pointer;
  }
  .content {
    width: 100%;
    height: 100%;
    min-height: 50vh;
    max-height: 68vh;
    overflow: auto;
  }
}
</style>
